/**
 * Created by fcs on 2014/11/20.
 */
function showTime(){
    var pdiv3= $("#p31");
    var date = new Date();
    var time = date.getHours() + ":"+date.getMinutes()+":"+date.getSeconds();
    pdiv3.text("星期"+date.getDay()+" > "+time);
}
$(window).ready(function(){
    var pdiv3= $("#p3");
    var date = new Date();
    var time = date.getFullYear()+"/"+(date.getMonth()+1)+"/"+date.getDate()+" : "+date.getHours() + "-"+date.getMinutes()+"-"+date.getSeconds();
    pdiv3.text(time+"");
    window.setInterval("showTime()", 100);
});